package org.xussen.dic;

public class KeyWordTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		String i = InitDictionary.getPosition("第一次初始化");
		String content = "是嘛呀hi发我个可额哈地灯而人可i场疯" +
				"看偶哈i发我个可额哈地灯而人可i场疯看偶哈i发我个可额哈地灯" +
				"而人可i场疯看偶哈i发我个可额哈地灯而人可i场疯看偶哈i发我" +
				"个可额哈地灯而人可i场疯看偶哈i发我个可额哈地灯而人可i场疯看" +
				"偶哈sd卡妇额女节的你共产党";
		long start = System.currentTimeMillis();
		for (int j = 0; j < 1300000; j++) {
			i = InitDictionary.getPosition(content);
		}
		System.out.println(System.currentTimeMillis()-start);
		System.out.println(i);
	}

}
